package com.ndp.fb.fbagent.service;

import com.ndp.fb.model.fbagent.param.customaudience.CustomAudienceLookalikeParam;
import com.ndp.fb.model.fbagent.param.customaudience.CustomAudienceParam;
import com.ndp.fb.model.fbagent.param.customaudience.CustomAudienceUserParam;
import com.ndp.fb.model.fbagent.param.entrustaccount.EntrustAccountParam;

/**
 * Created by hunk.qin on 2015/3/10.
 */
public interface CustomaudiencesFbServices {

    void agreeeCustomAudienceItem(EntrustAccountParam param);

    void fetchCustomaudiencesForSimple(Long accountId, String token, String after, String fetchKey);

    void createCustomAudience(CustomAudienceParam param);

    /**
     * 填充值到空自定义受众
     */
    void fillToCustomAudienceId(CustomAudienceUserParam param);

    void updateCustomAudience(CustomAudienceParam param);

    void deleteCustomAudience(CustomAudienceParam param);

    void createCustomAudienceLookalike(CustomAudienceLookalikeParam param);

    void createCustomAudienceLookalike(String AudienceLookalikeName, String country ,String ratio, Long fbAccountId, Long customAudienceId, Long customAudienceDbId, String token);

    void createCustomAudienceLookalikeByPage(Long pageId, String country, String ratio, String audienceLookalikeName, Long fbAccountId, String token, Long customAudienceDbId);

    /**
     * 修改自定义受众账号
     *
     * @param param
     */
    void updateCustomAudienceUsers(CustomAudienceUserParam param);



}
